package cn.com.yto56.cainiao.exponent.dto;

import cn.com.yto56.basic.framework.model.rest.BaseResponse;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class AjaxResponse extends RestResponse<Object> {
    public AjaxResponse success(Object d) {
        return (AjaxResponse) super.success(d);
    }

    public AjaxResponse failure(String m) {
        return (AjaxResponse) super.failure(m);

    }
}
